package com.yuyue.springFramework.note07.entity;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 定义配置类及服务类 serviceBean
 */
@Configuration
public class Configuration8 {
    @Bean
    public IService service(){
        return new Service3();
    }
}
